<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
  <form action="register" method="get">
    <fieldset>
        <legend>请完善你的资料</legend>
        *姓名：<input type="text" name="name" id="userName" required value="唐寅" maxlength="5"><br>
        小名：<input type="text" name="name" id="user1" value="唐伯虎"/><br>
        年龄：<input type="number" name="age" min="20" max="30" value="20"><br>
        入职时间：<input type="date" name="birthday"><br>
        *电子邮件：<input type="email" name="email" required value="2342@qq.com"/><br>
        喜欢颜色：<input type="color" name="color"/><br>
        汽车品牌：<input type="text" list="cars" name="carType">
              <datalist id="cars">
                  <option>BMW</option>
                  <option>GLC</option>
                  <option>FER</option>
              </datalist>
          <br>
        密码：<input type="password" name="pwd"/><br>
        性别：<input type="radio" name="sex" value="man" checked>男
             <input type="radio" name="sex" value="woman">女<br>
        爱好：<input type="checkbox" name="like" value="sport" checked>体育
            <input type="checkbox" name="like" value="music">音乐
            <input type="checkbox" name="like" value="draw">美术<br>
            <input type="hidden" name="id" value="8">

        头像：<input type="file" name="face"><br>
        学历：<select name="edu" multiple>
                <option value="gz">高中</option>
                <option value="dz">大专</option>
                <option value="bk">本科</option>
                <option value="ss">硕士</option>
            </select><br>

        工作经历：<textarea name="work" cols="50" rows="10"></textarea><br>

        <input type="submit" value="注册">
        <input type="reset">
        <input type="button" value="点击">

    </fieldset>
  </form>
</body>
</html>
